import request from '@/utils/request'

export function fetchList(params) {
  return request({
    url: '/email/list',
    method: 'get',
    params
  })
}

export function handle(data) {
  return request({
    url: '/email/handle',
    method: 'post',
    data
  })
}

export function send(data) {
  return request({
    url: '/email/send',
    method: 'post',
    data
  })
}
